package com.yazi.mxz.common.service;

import com.myframework.smhj.common.exception.MyException;
import com.myframework.smhj.hibernate.dao.Service;

import com.yazi.mxz.common.entity.beans.Member;
import com.yazi.mxz.common.entity.beans.MemberSpend;

public interface MemberSpendService extends Service<MemberSpend> {
	
	/**
	 * 添加用户消费记录<br>
	 * @param member 用户(游离对象->会话对象)
	 * @param serialCode 流水号
	 * @return
	 * @throws MyException
	 */
	MemberSpend addByMember(Member member, String serialCode) throws MyException;
	
}
